﻿using System.IO;

namespace MyHostSwtich.Datas.Models
{
    public class ConfigItem
    {

        public ConfigItem(string filename, string content, bool isDefault = false)
        {
            this.Filename = filename;
        }

        public string Filename { get; private set; }

        public string Key
        {
            get
            {
                var ret = Path.GetFileName(this.Filename);
                return ret;
            }
        }
    }
}
